package com.topisv.tms.entity.stock.check;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;

/**
 * 盘点计划明细
 * @author ch
 */
@Entity
@Table(name = "check_plan_item")
public class CheckPlanItem extends IdEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	private String planCode;
	private String customerCode;
	private String warehouseCode;
	private String sku;
	private String stockCode;
	private String boxCode;

	private Integer salesNum;
	private Integer unusedNum;
	private Integer orderNum;
	private Integer lockedNum;
	private Integer transportNum;
	private Integer airNum;

	private Integer salesNumCheck;
	private Integer unusedNumCheck;
	private Integer orderNumCheck;

	private Integer salesNumFix;
	private Integer unusedNumFix;
	private Integer orderNumFix;
	
	private String reverseFlag; //冲正标识 （notneed: 不需要冲正 need: 需要冲正 reverse: 冲正标识 notreverse: 取消冲正标识 ）
	
	private String batchCode;
	private String productDate;
	private String expireDate;
	
	public String getReverseFlag() {
		return reverseFlag;
	}

	public void setReverseFlag(String reverseFlag) {
		this.reverseFlag = reverseFlag;
	}

	public String getPlanCode() {
		return planCode;
	}

	public void setPlanCode(String planCode) {
		this.planCode = planCode;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getBoxCode() {
		return boxCode;
	}

	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}

	public Integer getSalesNum() {
		return salesNum;
	}

	public void setSalesNum(Integer salesNum) {
		this.salesNum = salesNum;
	}

	public Integer getUnusedNum() {
		return unusedNum;
	}

	public void setUnusedNum(Integer unusedNum) {
		this.unusedNum = unusedNum;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getLockedNum() {
		return lockedNum;
	}

	public void setLockedNum(Integer lockedNum) {
		this.lockedNum = lockedNum;
	}

	public Integer getTransportNum() {
		return transportNum;
	}

	public void setTransportNum(Integer transportNum) {
		this.transportNum = transportNum;
	}

	public Integer getAirNum() {
		return airNum;
	}

	public void setAirNum(Integer airNum) {
		this.airNum = airNum;
	}

	public Integer getSalesNumCheck() {
		return salesNumCheck;
	}

	public void setSalesNumCheck(Integer salesNumCheck) {
		this.salesNumCheck = salesNumCheck;
	}

	public Integer getUnusedNumCheck() {
		return unusedNumCheck;
	}

	public void setUnusedNumCheck(Integer unusedNumCheck) {
		this.unusedNumCheck = unusedNumCheck;
	}

	public Integer getOrderNumCheck() {
		return orderNumCheck;
	}

	public void setOrderNumCheck(Integer orderNumCheck) {
		this.orderNumCheck = orderNumCheck;
	}

	public Integer getSalesNumFix() {
		return salesNumFix;
	}

	public void setSalesNumFix(Integer salesNumFix) {
		this.salesNumFix = salesNumFix;
	}

	public Integer getUnusedNumFix() {
		return unusedNumFix;
	}

	public void setUnusedNumFix(Integer unusedNumFix) {
		this.unusedNumFix = unusedNumFix;
	}

	public Integer getOrderNumFix() {
		return orderNumFix;
	}

	public void setOrderNumFix(Integer orderNumFix) {
		this.orderNumFix = orderNumFix;
	}
	
    public String getBatchCode() {
        return batchCode;
    }

    
    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    
    public String getProductDate() {
        return productDate;
    }

    
    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }

    
    public String getExpireDate() {
        return expireDate;
    }

    
    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }



    //dto属性
	private Customers customer;
	private AreaGroup warehouse;

	@Transient
	public Customers getCustomer() {
		return customer;
	}

	public void setCustomer(Customers customer) {
		this.customer = customer;
	}

	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}

	
	
}